package com.impl;

import com.entities.UserInfo;
import com.interfaces.IUserDao;

/**
 * Created by li_wb on 2017/12/15.
 */
public class UserDaoImpl implements IUserDao {
    @Override
    public UserInfo getById(long id) {
        UserInfo userInfo = new UserInfo();
        userInfo.setId(id);
        userInfo.setName("francis");
        System.out.println("服务名=" + this.getClass().getName());
        return userInfo;
    }

    @Override
    public UserInfo add(UserInfo user) {
        return null;
    }
}
